package com.qys.livesMall.shop.constants;

/**
 * @packageName:
 * @className:OrderStatus
 * @Description:
 * @author:guomx
 * @date:2023/6/2813:35
 */
public class OrderStatus {

    /**
     * 已取消
     */
    public static final Integer CANCELED = -1;
    /**
     * 待支付
     */
    public static final Integer WAIT_PAY= 0;
    //未发货
    public static final Integer UNSHIPPED = 1;
    //已发货
    public static final Integer SHIPPED = 2;
    //已收货
    public static final Integer RECEIVED = 3;
    //售后已申请
    public static final Integer RETURN_APPLIED = 4;
    //售后已确认
    public static final Integer RETURN_CONFIRMED = 5;
    //售后已完成
    public static final Integer RETURNED = 6;



    public static class SettlementStatus{
        //  未结
        public static final String NO = "0";
        //已结算
        public static final String YES = "1";
    }

    public static class ReturnStatus{

        /**
         * 取消
         */
        public static final Integer CANCELED = -2;
        /**
         * 不通过
         */
        public static final Integer NO_PASS = -1;
        /**
         * 申请
         */
        public static final Integer APPLIED= 0;
        //确认
        public static final Integer CONFIRMED = 1;
        //买家发货
        public static final Integer USER_SHIPPED = 2;
        //平台收货
        public static final Integer PLATFORM_RECEIVED = 3;
        //平台发货
        public static final Integer PLATFORM_SHIPPED = 4;
        //用户收货
        public static final Integer USER_RECEIVED = 5;

        /**
         * 待退款
         */
        public static final Integer WAIT_REFUND =7;
        //完成（退款）
        public static final Integer RETURNED = 6;
    }
}
